﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Automobile.service.Model;
using Automobile.service.DAL;


namespace Automobile.service.BLL
{
    public class BlitemBLL
    {
        BlitemDAL dal = new BlitemDAL();
        /// <summary>
        /// 分页显示盘点单
        /// </summary>
        /// <param name="PageIndex"></param>
        /// <param name="PageSize"></param>
        /// <returns></returns>
        public List<Blitem> ShowBlitem(int PageSize,int PageIndex)
        {
            return dal.ShowBlitem(PageSize, PageIndex);
        }
        /// <summary>
        /// 总数量
        /// </summary>
        /// <param name="Startime"></param>
        /// <param name="Endtime"></param>
        /// <returns></returns>
        public int Count(string Startime, string Endtime)
        {
            return dal.Count(Startime, Endtime);
        }
        /// 分页显示盘点单
        /// </summary>
        /// <param name="PageIndex"></param>
        /// <param name="PageSize"></param>
        /// <returns></returns>
        public List<Blitem> ShowBlitem_Sel(int PageSize, int PageIndex, string Startime, string Endtime)
        {
            return dal.ShowBlitem_Sel(PageSize, PageIndex,Startime,Endtime);
        }
    }
}
